@echo off
setlocal
set "sourcehome=E:\dev\grails"
set "svnDir=E:\dev\shenxuh\grails_ws"

call:sub1 kis\.settings
call:sub1 kis\grails-app
call:sub1 kis\lib
call:sub1 kis\scripts
call:sub1 kis\src
call:sub1 kis\docs
call:sub1 kis\web-app
call:sub1 kis\test\integration
call:sub1 kis\test\unit

del %sourcehome%\kis\*.log

echo a | xcopy %sourcehome%\kis\* %svnDir%\kis\

pause 

goto :eof


:sub1

echo a | xcopy %sourcehome%\%1\* %svnDir%\%1\* /E /D

goto :eof


:eof

